import {BaseApi} from "@/components/js/BaseApi";
import service from "@/components/js/service";

export const UserApi = {
    mixins: [BaseApi],
    methods: {
        getBaseUrl(){
            return "/sys-user";
        },
        updateInfo(param) {
            return service.post(this.getBaseUrl() + "/update-info", param);
        },
    },
}